home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: The Risc OS Music Utilities CD / Acorn User: The Risc OS Music Utilities CD.iso / UTILITIES / WA165 / !WavEdit / !Run < prev    next >
Text File  |  2000-09-06  |  3KB  |  57 lines

  1. | !Run file for !WavEdit.  © R J Hancox 20th May 2000.
  2. | 06/09/00    Replaced RMEnsure for PlayIt module with PlayIt:Ensure command
  3.  
  4. Set WavEdit$Dir <Obey$Dir>
  5. Iconsprites <WavEdit$Dir>.!Sprites
  6.  
  7. if "<Choices$Dir>"="" then error System variable Choices$Dir must be set to run this program
  8. if "<Wimp$ScrapDir>"="" then error System variable Wimp$ScrapDir must be set to run this program
  9.  
  10.  
  11. Set WavEditChoices$Dir <Choices$Dir>.WavEdit
  12. | This variable sets the location where any configuration files will be recorded
  13. | If the program complains that the WavEditChoices$Dir is invalid, it's probably
  14. | because your !boot sequence hasn't set up the <Choices$Dir> system variable
  15. | properly.  To fix the problem, replace your !Boot with a standard one.
  16. |
  17. | If the program complains that there is already a file called WavEdit in the
  18. | Choices folder, there may be a clash between some other program and this one.
  19. | Please change the line above to read:
  20. | Set WavEditChoices$Dir <Choices$Dir>.WavEdit2
  21.  
  22. Set WavEditScrap$Dir <Wimp$ScrapDir>.WavEdit
  23. | This variable sets the location where any temporary files will be recorded
  24. | If the program complains that the WavEditScrap$Dir is invalid, it's probably
  25. | because your !boot sequence hasn't set up the <Scrap$Dir> system variable
  26. | properly.  To fix the problem, replace your !Boot with a standard one.
  27. |
  28. | If the program complains that there is already a file called WavEdit in the
  29. | Scrap folder, there may be a clash between some other program and this one.
  30. | Please change the line above to read:
  31. | Set WavEditScrap$Dir <Wimp$ScrapDir>.WavEdit2
  32.  
  33.  
  34. RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
  35.  
  36. RMENSURE Toolbox    0.00  RMLOAD System:modules.toolbox.toolbox
  37. RMENSURE Toolbox    1.23  ERROR You need toolbox 1.23 or later to run this program
  38. RMENSURE Window     0.00  RMLOAD System:modules.toolbox.window
  39. RMENSURE Window     1.15  ERROR You need window 1.15 or later to run this program
  40. RMENSURE Menu       0.00  RMLOAD System:modules.toolbox.menu
  41. RMENSURE Menu       0.15  ERROR You need menu 0.15 or later to run this program
  42. RMENSURE Iconbar    0.00  RMLOAD System:modules.toolbox.iconbar
  43. RMENSURE Iconbar    1.08  ERROR You need iconbar 1.08 or later to run this program
  44. RMENSURE ProgInfo   0.00  RMLOAD System:modules.toolbox.proginfo
  45. RMENSURE ProgInfo   0.05  ERROR You need proginfo 0.05 or later to run this program
  46. RMENSURE SaveAs     0.00  RMLOAD System:modules.toolbox.saveas
  47. RMENSURE SaveAs     0.03  ERROR You need saveas 0.03 or later to run this program
  48.  
  49. | Load the PlayIt resourse if not already active
  50. if "<PlayIt$Path>" = "" then error The !PlayIt application could not be located.  Please consult the Help file.
  51. unset PlayIt$Error
  52. Run PlayIt:Ensure -e    1.60
  53. if "<PlayIt$Error>" <> "" then error !WavEdit requires !PlayIt 1.60 or later.  Please consult the Help file.
  54.  
  55. wimpslot -min 128K -max 128K
  56. Run <WavEdit$Dir>.WavEdit %*0
  57.